package com.jyxd.web.hiscz.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("实体主参数")
@Data
public class EventDto {

    @JsonProperty(value = "RecordDatetime")
    @ApiModelProperty(name = "事件发生日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recordDatetime;

    @JsonProperty(value = "Operator")
    @ApiModelProperty(name = "接收操作者信息")
    private OperatorDto  operator;

    @JsonProperty(value = "EventFacility")
    @ApiModelProperty(name = "医疗机构代码code")
    private CodingDto eventFacility;

    @JsonProperty(value = "EventCode")
    @ApiModelProperty(name = "事件代码code")
    private CodingDto eventCode;
}
